import axios from 'axios'

//侧边栏菜单
export async function getMenuList(){
  const res = await axios.get('/Home/getMenuList')
    .then(d => d.data)
  return res
}

//角色列表
export async function getRolesList(){
  const res = await axios.get('/Roles/getRolesList')
    .then(d => d.data)
  return res
}

//教师课程列表
export async function getTeacherClass(){
  const res = await axios.get('/TeacherClass/getTeacherClass')
    .then(d => d.data)
  return res
}

// 学生课程列表
export async function getStudentClassList(){
  const res = await axios.get('/StudentClass/getStudentClassList')
    .then(d => d.data)
  return res
}

// 班级方向课表
export async function getClassCourseList(){
  const res = await axios.get('/Class/getClassCourseList')
    .then(d => d.data)
  return res
}

// 教师列表
export async function getTeacherList(){
  const res = await axios.get('/Teacher/getTeacherList')
    .then(d => d.data)
  return res
}

// 学生列表
export async function getStudentList(){
  const res = await axios.get('/Student/getStudentList')
    .then(d => d.data)
  return res
}

//学院列表
export async function getCollegeList(){
  const res = await axios.get('/College/getCollegeList')
    .then(d => d.data)
  return res
}
